package com.li.designpattern.abtractfactory;

public class Test {
	public static void main(String[] args) {
		ItemFactory itemf=new DelItemFactory();
		Computer computer=itemf.createComputer();
		computer.function();
		computer.price();
		
		itemf=new MacItemFactory();
		Mouse mouse=itemf.createMouse();
		mouse.function();
		mouse.price();
	}
}
